/**
 * Created by hxpeng on 2017/3/24.
 */

(function () {
    'use strict';

    angular.module('App.pages.class')
        .service('ClassNoticeModel', ClassNoticeModel);

    function ClassNoticeModel(API,$resource) {
        this.actions = {}
        this.actions.findClassNotice = {
            method: 'GET',
            url: API + '/notice/wechat/findClassNotice'
        }
        this.actions.getNoticePage = {
            method: 'POST',
            url: API + '/notice/wechat/getNoticePage'
        }
        return $resource.call(this, this.url, this.params, this.actions)
    }

})();
